Component({
    properties: {
        role: {
            type: Number,
            value: -1
        }
    },
    data: {
        name: ""
    },
    methods: {},
    ready: function() {
        var e = this.data.role, t = getApp().util.getRoleName(e);
        this.setData({
            name: t
        });
    }
});